//
//  Header.h
//  LBCTopNew
//
//  Created by 刘表聪 on 15/8/14.
//  Copyright (c) 2015年 lanou3g. All rights reserved.
//

#ifndef LBCTopNew_Header_h
#define LBCTopNew_Header_h

// 屏幕宽度
#define kScreenWidth ([UIScreen mainScreen].bounds.size.width)
// 屏幕高度
#define kScreenHeight ([UIScreen mainScreen].bounds.size.height)
// 屏幕bounds
#define kScreenRect ([UIScreen mainScreen].bounds)

// 颜色
#define kColor(r, g, b) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:1.0]
#define kColorRGBA(r, g, b, a) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:a]

// 随机色
#define kRandomColor kColor(arc4random_uniform(256), arc4random_uniform(256), arc4random_uniform(256))


#ifdef DEBUG //处于开发阶段
#define LBCLog(...) NSLog(__VA_ARGS__)
#else //处于发布阶段
#define LBCLog(...)
#endif

#endif
